 //提示框
function SetToast(that, content)
{
  that.setData({
    isHide:true,
   content: content
  })
 
  setTimeout(function () {
    HideToast(that)
  }, 2000)
 
}


function HideToast(that){
  that.setData({
    isHide: false,
    
  })
}

 
 
module.exports.SetToast = SetToast;
 